<template>
  <div class="content">
    <div class="inner">{{ props.data?.text }}</div>
  </div>
</template>
<script setup lang="ts">
const props = defineProps({
  data: {
    type: Object,
  },
});
console.log("props", props.data?.text);
</script>
<style scoped>
.content {
  width: 120px;
  height: 38px;
  border: 1px solid dodgerblue;
  border-radius: 16px;
  text-align: center;
  line-height: 38px;
  font-size: 14px;
  font-weight: 600;
}
.header {
  width: 120px;
  height: 38px;
  text-align: center;
  line-height: 38px;
}
</style>
